<extend name="Layout/ins_page" />
   
<block name="content">
 <link href="/sap/demo.css" rel="stylesheet" type="text/css" />
    <script src="/sap/scripts/boot.js" type="text/javascript"></script>
<form method="post" name="form_adv_search" id="form_adv_search">

	<div class="fieldset-body" style="margin:0px 5px;">
                 
 <!--          买家姓名： <input id="U_Cstname"  name="U_Cstname" class="mini-textbox" enabled='false' />
          手机号码： <input  id="U_Phone"  name="U_Phone" class="mini-textbox"  value=""enabled='false' /><br/><br/> -->
         <!--订单号： <input type="text" id="orderSn"  name="orderSn" class="mini-textbox" autocomplete="off" placeholder="" />
         手机号：<input type="text" class="mini-textbox" autocomplete="off" placeholder="" id="phone" name="phone">-->  
        对账月份：
		<input id="reconcileTime" class="mini-monthpicker" value="{$reconcileTime}" format='yyyyMM' valueType='string' style='width:7.5%;margin-left:-4px'/>
          <a class="mini-button" onClick="search()" style="margin-left:20px;"><span class="mini-button-text ">&nbsp;&nbsp;查询&nbsp;&nbsp;</span></a>
          <a  style="float:right;" class="mini-button" onClick="exportData()"><span class="mini-button-text ">&nbsp;&nbsp;导出&nbsp;&nbsp;</span></a>  
          
        </div>
</form>
<div class="ul_table ul_table_responsive" style="font-size:14px" >
	<ul>
		<li class="thead" style="padding-left:10px">
			<div class="autocut auto">
			    <span class="col-18 ">订单号</span>
                <!--<span class="col-18 ">订单生成时间</span>-->
				<span class="col-16 ">中银接收结算状态时间</span>
				<span class="col-16 ">结算月份</span>
                <span class="col-16 ">系统反馈时间</span>
                <span class="col-16 ">系统最终状态</span>
				<!--<span class="col-16 ">操作</span>-->
			</div>
			
		</li>
	</ul>
	<empty name="arr">
		<ul>
			<li class="no-data">
				{$errorInfo}
			</li>
		</ul>
		<else/>
		<form method="post" action="" name="form_data" id="form_data">
			<ul>
			
				<?php foreach($arr as $vo){
				
				?>
					<li class="tbody ">

						<div class="autocut auto">
						    <span class="col-18 "><?php echo $vo['order_code']?>&nbsp;</span>
							<!--<span class="col-16 "><?php echo $vo['ctime']?></span>-->
						    <span class="col-16 "><?php echo $vo['push_time']?>&nbsp;</span>
                            <span class="col-16 "><?php echo $vo['batch_no']?>&nbsp;</span>
							<span class="col-16 "><?php echo $vo['p_time']?></span>
                            <span class="col-16 "><?php echo $vo['status']?></span>
                         </div>
			
							 
					</li>
				<?php } ?>
			</ul>
		</form>
	</empty>
</div>

    
    


<script type="text/javascript">
     function search()
	 {
		 var reconcileTime = mini.get('reconcileTime').getValue();
	     var url="index.php?m=&c=Boc365&a=difforders&reconcileTime="+reconcileTime;
	     location.href=url;
	 }

     function exportData()
	  {
			var reconcileTime = mini.get('reconcileTime').getValue();
	        var url="index.php?m=&c=Boc365&a=exportdifforders&reconcileTime="+reconcileTime;
	        location.href=url;
	  }
        
    </script>
</block>

  

